//公用样式 
require('../../assets/css/index.less')
require('../../assets/fonts/iconfont.css')
require('../../lib/weui/weui.css');
//引入js库
let weui = require('../../lib/weui/weui.js');
// 当前页面样式
require('./sportBadge.less')
// 工具函数 utils
const dom = require('../../utils/dom')
const https=require('../../utils/https')
const local = require('../../utils/local');

dom.ready(function(){
    function getBadges(){
        https.get('/api/exercise/badge',function(res){
            console.log(res.data);
    })
    }
    getBadges();
    dom.addEvent('#go',function(){
        history.go(-1);
    })
})
